package com.als.healthymananger.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * <p>
 * 
 * </p>
 *
 * @author aion
 * @since 2021-07-21
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = false)
public class JurisdictionGroup implements Serializable {

    private static final long serialVersionUID = 1L;

    public JurisdictionGroup(String typeName, Integer jurisdictionId) {
        this.typeName = typeName;
        this.jurisdictionId = jurisdictionId;
    }

    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 用户角色
     */
    @Schema(description = "用户角色类型")
    private String typeName;

    /**
     * 权限序号
     */
    private Integer jurisdictionId;


}
